RND

Syntax: RND [([min TO] max)]
Location: QL ROM

This function produces a (pseudo) random number. When used without parameters it returns a floating point number between 0 and 1, otherwise an integer number lying between the two parameters (including the parameters) will be returned.

Example:
k=RND(1 TO m)

CROSS-REFERENCE:
The results of RND can be influenced with RANDOMISE. 
See also MATRND.
